package itheima.d03;

import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;

public class test {
    public static void main(String[] args) {

        int [] arr=new int[10];
        arr[11]=10;
        System.out.println(arr[11]);
        String  s="null";
        System.out.println(s);



        String dateSter="2020-01-01";
        SimpleDateFormat sdf=new SimpleDateFormat("yyyy-MM-dd");
        try {
            Date date=sdf.parse(dateSter);
            System.out.println(date);
        } catch (ParseException e) {
            e.printStackTrace();
        }

    }
}
